package com.ateam.dao;

import java.util.List;

import com.ateam.pojo.Shares;

/** 
* @author WuYuan
* 
*/
public interface SharesDao {
	public int addShare(Shares share)throws Exception;
	public List<Shares> getShares(int companyid)throws Exception;
	public List<Shares> getSharesByFatherid(int fathershareid)throws Exception;
	public List<Shares> getSharesByProjectid(int projectid)throws Exception;
	public List<Shares> getSharesByGroupid(int groupid)throws Exception;
	public List<Shares> getSharesByUserid(int userid)throws Exception;
}
